package com.ly.heart.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.SaleOrderDeliveryDetailEntity;

/**
 * 销售订单交货明细详情Mapper接口
 * 
 * @author wutao
 * @date 2024-06-30
 */
public interface SaleOrderDeliveryDetailMapper extends BaseMapper<SaleOrderDeliveryDetailEntity> {
    /**
     * 查询销售订单交货明细详情
     * 
     * @param id 销售订单交货明细详情ID
     * @return 销售订单交货明细详情
     */
    public SaleOrderDeliveryDetailEntity selectSaleOrderDeliveryDetailById(String id);

    /**
     * 查询销售订单交货明细详情列表
     * 
     * @param saleOrderDeliveryDetail 销售订单交货明细详情
     * @return 销售订单交货明细详情集合
     */
    public List<SaleOrderDeliveryDetailEntity> selectSaleOrderDeliveryDetailList(SaleOrderDeliveryDetailEntity saleOrderDeliveryDetail);

    /**
     * 新增销售订单交货明细详情
     * 
     * @param saleOrderDeliveryDetail 销售订单交货明细详情
     * @return 结果
     */
    public int insertSaleOrderDeliveryDetail(SaleOrderDeliveryDetailEntity saleOrderDeliveryDetail);

    /**
     * 修改销售订单交货明细详情
     * 
     * @param saleOrderDeliveryDetail 销售订单交货明细详情
     * @return 结果
     */
    public int updateSaleOrderDeliveryDetail(SaleOrderDeliveryDetailEntity saleOrderDeliveryDetail);

    /**
     * 删除销售订单交货明细详情
     * 
     * @param id 销售订单交货明细详情ID
     * @return 结果
     */
    public int deleteSaleOrderDeliveryDetailById(String id);

    /**
     * 批量删除销售订单交货明细详情
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSaleOrderDeliveryDetailByIds(String[] ids);
}
